# -*- coding:utf-8 -*-

try:
    print(5/0)
except ZeroDivisionError:
    print("Your can't divide by zero !!")

print("Give me to numbers, and I'll divide them.")
print("Enter 'q' to quit.")

while True:
    first_number = input("\nFirst number: ")
    if first_number == 'q':
        break

    second_number = input("\nSecond number: ")
    if second_number == 'q':
        break

    try:
        answer = int(first_number) / int(second_number)
        print(answer)
    except ZeroDivisionError:
        print('Your can not divide by 0 !!!')